IK Gradient Radial


IK Gradient Radial Image Number, X, Y, Start Radius, End Radius, Color1, Color2, Channel, Mode

Description

Draws a radial gradient. You can use the Mode parameter to control how it is drawn by specifying any combination of flags (see list). A flag can be combined by adding them together. By using the Channel parameter, you can mask channels for the gradient. This command does not work on render targets, but the same effect can be achieved using the effect commands of Image Kit and a pixel shader.
A list of available modes are:
Constant nameConstantDescription
GRADIENT_FILLSTART1If this flag is specified, the area before the gradient will be colored with Color1.
GRADIENT_FILLEND2If this flag is specified, the area behind the gradient will be colored with Color2.

Parameters

Image NumberIntegerThe ID of the image.
XIntegerThe X coordinate of the center of the radial gradient.
YIntegerThe Y coordinate of the center of the radial gradient.
Start RadiusIntegerThe radius of the starting point of the radial gradient.
End RadiusIntegerThe radius of the ending point of the radial gradient.
Color1DWORDThe color of the starting point of the gradient.
Color2DWORDThe color of the ending point of the color.
ChannelDWORDThe channel(s) used for the gradient.
ModeIntegerThe draw mode of the gradient.


Index